home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 2
/
Gold Medal Software Volume 2 (Gold Medal) (1994).iso
/
bbsutils
/
tb502man.arj
/
P143
< prev
next >
Wrap
Text File
|
1994-02-13
|
3KB
|
64 lines
The TriBBS Bulletin Board System 143
13 to 16 long If the message is a response to a
previous message, this value will hold
the original message's number.
Otherwise, this will be 0.
Mnnnn.TXT
---------
Is the message conference's text file and is located in node 1's MWORK
directory. Where the conference number is specified by nnnn and is a
number from 0001 to 9999. The start of each message is pointed to by
an appropriate pointer in the conference's Mnnnn.PTR file. Each
message is saved using the following format:
Byte Data Description
Position Type
1 to 2 int The message's length.
3 to 4 int Compressed/uncompressed flag. 1
indicates a compressed message and 0
indicates an uncompressed message.
5 to ... char [length] The message's compressed or uncompressed
text.
As the above data structure indicates, TriBBS can save a message's
text in either a compressed or uncompressed state. Because of the way
LZS data compression works, a short message may actually grow in
length when compressed. Therefore, TriBBS will attempt to compress
all messages. If the message's compressed length is shorter than the
message's uncompressed length, the message will be saved in a
compressed state. Otherwise, TriBBS saves the message in its
uncompressed state to conserve on disk space.
FAREA.DAT
---------
Is TriBBS's file area configuration file and is located in node 1's
MWORK directory. Each file area record is as follows:
Byte Data Description
Position Type
1 to 2 int The file area's minimum security level.
3 to 4 int The file area's sort flag. TRUE if sort
by file name. FALSE if sort by date.
5 to 6 int Private file area flag.
7 to 47 char [41] The file area's description.
48 to 128 char [81] The file area's path.
129 to 209 char [81] The file area's upload path.
210 to 290 char [81] The file area's file list.